gtkimcontextxim: fix gtk_im_context_xim_set_client_widget not handling widget=NULL
authorChristoph Reiter <creiter@src.gnome.org>
Sun, 4 Mar 2018 17:40:12 +0000 (18:40 +0100)
committerChristoph Reiter <creiter@src.gnome.org>
Sun, 4 Mar 2018 17:40:12 +0000 (18:40 +0100)
commit8c2c748c1171009f8a063aec2fe1f2d193be682c
treecb7a08d0651d5bf35b2deb9fa6443636a29e3752
parent331c4b5954d7a460da690c6b86d902c77bf35220
gtkimcontextxim: fix gtk_im_context_xim_set_client_widget not handling widget=NULL

gtk_im_context_set_client_widget() allows passing NULL as widget to signal that
the widget no longer exists. The xim implementation didn't handle that
case which led to the test suite on gitlab-ci failing.
gtk/gtkimcontextxim.c